package org.helgoboss.scala_additions

import OperatingSystemClass._

object CurrentPlatform {
    def osClass: OperatingSystemClass = {
        if (osName.startsWith("Windows")) {
            Windows
        } else {
            Unix
        }
    }
    
    def osName = System.getProperty("os.name")
}